import request from '@/utils/request'

// 查询园区出渣列表
export function listOpmEnvParkWaste(query) {
  return request({
    url: '/environment/opmEnvParkWaste/list',
    method: 'get',
    params: query
  })
}

// 查询园区出渣详细
export function getOpmEnvParkWaste(id) {
  return request({
    url: '/environment/opmEnvParkWaste/' + id,
    method: 'get'
  })
}

// 新增园区出渣
export function addOpmEnvParkWaste(data) {
  return request({
    url: '/environment/opmEnvParkWaste',
    method: 'post',
    data: data
  })
}

// 修改园区出渣
export function updateOpmEnvParkWaste(data) {
  return request({
    url: '/environment/opmEnvParkWaste',
    method: 'put',
    data: data
  })
}

// 删除园区出渣
export function delOpmEnvParkWaste(id) {
  return request({
    url: '/environment/opmEnvParkWaste/' + id,
    method: 'delete'
  })
}
